package com.neusoft.cmsprojects.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;

/**
 * TbConfig entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "tb_config", catalog = "cms")
public class TbConfig implements java.io.Serializable {

	// Fields

	private Integer id;
	private byte[] CIntro;
	private byte[] CIntroe;
	private String CTitle;
	private String CTitilee;
	private String CDescription;
	private String CDescriptione;
	private String CSearch;
	private String CSearche;
	private byte[] CContact;
	private byte[] CContacte;
	private String CEmail;
	private String CQq;
	private String CMapcode;
	private String CStatcode;
	private byte[] CBottom;
	private byte[] CBottome;

	// Constructors

	/** default constructor */
	public TbConfig() {
	}

	/** full constructor */
	public TbConfig(byte[] CIntro, byte[] CIntroe, String CTitle,
			String CTitilee, String CDescription, String CDescriptione,
			String CSearch, String CSearche, byte[] CContact, byte[] CContacte,
			String CEmail, String CQq, String CMapcode, String CStatcode,
			byte[] CBottom, byte[] CBottome) {
		this.CIntro = CIntro;
		this.CIntroe = CIntroe;
		this.CTitle = CTitle;
		this.CTitilee = CTitilee;
		this.CDescription = CDescription;
		this.CDescriptione = CDescriptione;
		this.CSearch = CSearch;
		this.CSearche = CSearche;
		this.CContact = CContact;
		this.CContacte = CContacte;
		this.CEmail = CEmail;
		this.CQq = CQq;
		this.CMapcode = CMapcode;
		this.CStatcode = CStatcode;
		this.CBottom = CBottom;
		this.CBottome = CBottome;
	}

	// Property accessors
	@GenericGenerator(name = "generator", strategy = "increment")
	@Id
	@GeneratedValue(generator = "generator")
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "c_intro")
	public byte[] getCIntro() {
		return this.CIntro;
	}

	public void setCIntro(byte[] CIntro) {
		this.CIntro = CIntro;
	}

	@Column(name = "c_introe")
	public byte[] getCIntroe() {
		return this.CIntroe;
	}

	public void setCIntroe(byte[] CIntroe) {
		this.CIntroe = CIntroe;
	}

	@Column(name = "c_title", length = 2048)
	public String getCTitle() {
		return this.CTitle;
	}

	public void setCTitle(String CTitle) {
		this.CTitle = CTitle;
	}

	@Column(name = "c_titilee", length = 2048)
	public String getCTitilee() {
		return this.CTitilee;
	}

	public void setCTitilee(String CTitilee) {
		this.CTitilee = CTitilee;
	}

	@Column(name = "c_description", length = 2048)
	public String getCDescription() {
		return this.CDescription;
	}

	public void setCDescription(String CDescription) {
		this.CDescription = CDescription;
	}

	@Column(name = "c_descriptione", length = 2048)
	public String getCDescriptione() {
		return this.CDescriptione;
	}

	public void setCDescriptione(String CDescriptione) {
		this.CDescriptione = CDescriptione;
	}

	@Column(name = "c_search", length = 2048)
	public String getCSearch() {
		return this.CSearch;
	}

	public void setCSearch(String CSearch) {
		this.CSearch = CSearch;
	}

	@Column(name = "c_searche", length = 2048)
	public String getCSearche() {
		return this.CSearche;
	}

	public void setCSearche(String CSearche) {
		this.CSearche = CSearche;
	}

	@Column(name = "c_contact")
	public byte[] getCContact() {
		return this.CContact;
	}

	public void setCContact(byte[] CContact) {
		this.CContact = CContact;
	}

	@Column(name = "c_contacte")
	public byte[] getCContacte() {
		return this.CContacte;
	}

	public void setCContacte(byte[] CContacte) {
		this.CContacte = CContacte;
	}

	@Column(name = "c_email", length = 256)
	public String getCEmail() {
		return this.CEmail;
	}

	public void setCEmail(String CEmail) {
		this.CEmail = CEmail;
	}

	@Column(name = "c_qq", length = 256)
	public String getCQq() {
		return this.CQq;
	}

	public void setCQq(String CQq) {
		this.CQq = CQq;
	}

	@Column(name = "c_mapcode", length = 2048)
	public String getCMapcode() {
		return this.CMapcode;
	}

	public void setCMapcode(String CMapcode) {
		this.CMapcode = CMapcode;
	}

	@Column(name = "c_statcode", length = 2048)
	public String getCStatcode() {
		return this.CStatcode;
	}

	public void setCStatcode(String CStatcode) {
		this.CStatcode = CStatcode;
	}

	@Column(name = "c_bottom")
	public byte[] getCBottom() {
		return this.CBottom;
	}

	public void setCBottom(byte[] CBottom) {
		this.CBottom = CBottom;
	}

	@Column(name = "c_bottome")
	public byte[] getCBottome() {
		return this.CBottome;
	}

	public void setCBottome(byte[] CBottome) {
		this.CBottome = CBottome;
	}

}